home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Utilities Experience
/
The Utilities Experience - Volume 1.iso
/
software
/
graphics
/
n-z
/
raystorexa
/
arexx
/
fog.ray
< prev
next >
Wrap
Text File
|
1995-10-17
|
965b
|
55 lines
/***************
* NAME: fog.ray
* VERSION: 1.0 17.08.1995
* DESCRIPTION: Test of fog
* AUTHORS: Andreas Heumann
* BUGS: none
* TO DO: none
* HISTORY:
* DATE NAME COMMENT
* 17.08.95 ah initial release
***************/
signal on error
options results
IF ~show('P','RAYSTORM') THEN DO
address COMMAND 'run >NIL: <NIL: /RayStorm'
address COMMAND WaitForPort RAYSTORM
END
address RAYSTORM
'TEXTUREPATH /textures'
'SETSCREEN 160 128'
'SETCAMERA <0,50,-75> <0,-10,0> <0,1,0> 25 20'
'SETWORLD [0,0,0] [20,20,20] FOGLEN=15 FOGHEIGHT=0'
'POINTLIGHT <20,20,-40>'
'NEWSURFACE RED'
'DIFFUSE [255,0,0]'
'NEWSURFACE PLANE'
'DIFFUSE [0,0,0]'
'SPECULAR [0,0,0]'
'IMTEXTURE checker.itx <0,0,0> <0,0,0> <5,5,5> 255 255 0'
'PLANE PLANE <0,-10,0> <0,1,0>'
'SPHERE RED <0,0,0> 10'
'STARTRENDER'
'SAVEPIC fog.iff'
'CLEANUP'
exit 0
error:
say "Error" rc "in line" sigl ":"
GETERRORSTR rc
say result
exit 0